package cn.ccit.model;

import java.util.List;

/**
 * 
 * @author wanghao
 * json传输模型基类
 * @param <T>
 */
public class BaseModel<T> {
	private int status;//状态码
	private String message;//传输信息
	private T data; // 数据返回
	public BaseModel(int status, String message, T data) {
		super();
		this.status = status;
		this.message = message;
		this.data = data;
	}
	
	
	public BaseModel() {
		super();
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public T getData() {
		return data;
	}
	public void setData(T data) {
		this.data = data;
	}
	
	

	

}
